# Example: Use a Ramp button

This example shows you how to use two Ramp buttons together to create a raise/lower control.

Create two Ramp buttons. Configure one button like this:

- Caption: Raise
- Ramp type: Ramp up
- Ramp value: 1
- Upper Limit: 100
- Auto repeat rate: 5

Configure the second button like this:

- Caption: Lower
- Ramp type: Ramp down
- Ramp value: 1
- Lower Limit: 0
- Auto repeat rate: 5

Assign the same tag to each button’s Value connection. Create a numeric display object to view the tag assigned to the Ramp buttons’ Value connection.

When the operator presses the Raise button, the tag assigned to the Value connection increases by one. If the operator holds down the button the value continues to increase at a rate of five times per second. If the operator presses the Lower button the value decreases.

## See also

Create Ramp buttons

Create numeric displays